// 8_4_1.c   pnt_add
#include <stdio.h>
#define SIZE 4
int main()
{
    short dates[SIZE];
    short *pti;
    short index;
    double bills[SIZE];
    double *ptf;

    pti = dates;
    ptf = bills;

    printf("%23s %15s\n", "short", "double");
    for (index = 0; index < SIZE; index++)
        printf("pointers + %d: %10p %10p\n", index, pti + index, ptf + index);

    printf("%23s %15s\n", "short", "double");
    for (index = 0; index < SIZE; index++)
        printf("    array[%d]: %10p %10p\n", index, &dates[index], &bills[index]);

    printf("%d %d %d %d", sizeof(dates), sizeof(pti), sizeof(dates[0]), sizeof(*pti));

    return 0;
}
